﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Enterprise.Migrations
{
    public partial class addhcdbeforeTOafter : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "BEFORE_MEAL_2H_MIN",
                table: "PATIENT_PARTING_INFO",
                newName: "AFTER_MEAL_2H_MIN");

            migrationBuilder.RenameColumn(
                name: "BEFORE_MEAL_2H_MAX",
                table: "PATIENT_PARTING_INFO",
                newName: "AFTER_MEAL_2H_MAX");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "AFTER_MEAL_2H_MIN",
                table: "PATIENT_PARTING_INFO",
                newName: "BEFORE_MEAL_2H_MIN");

            migrationBuilder.RenameColumn(
                name: "AFTER_MEAL_2H_MAX",
                table: "PATIENT_PARTING_INFO",
                newName: "BEFORE_MEAL_2H_MAX");
        }
    }
}
